/* =========================
   ALTO PAGE ONLY CSS
   (Topbar/Navbar/Footer: your about.css handles it)
========================= */

:root{
  --a-primary:#0b63a8;
  --a-dark:#0f172a;
  --a-muted:#64748b;
  --a-border:#e5e7eb;
  --a-soft:#f6f8fb;
  --a-shadow:0 10px 25px rgba(15, 23, 42, 0.10);
}

/* wrapper of page */
.alto-page{
  background:#fff;
}

/* HERO */
.alto-hero{
  background:linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
  padding:44px 0 18px;
}

.alto-hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:24px;
  align-items:center;
}

.alto-kicker{
  display:inline-block;
  font-size:13px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--a-primary);
  font-weight:900;
  margin:0 0 10px;
}

.alto-title{
  font-size:clamp(28px, 3vw, 44px);
  line-height:1.12;
  margin:0 0 10px;
  color:var(--a-dark);
  font-weight:750;
}

.alto-sub{
  margin:0 0 16px;
  color:var(--a-muted);
  line-height:1.75;
  font-size:15px;
  font-weight:650;
  max-width:680px;
}

.alto-hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}
.alto-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--a-border);
  font-weight:800;
  font-size:13px;
}

.alto-hero-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}
.alto-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 16px;
  border-radius:12px;
  font-weight:900;
  font-size:14px;
  text-decoration:none;
  transition:.25s ease;
  border:1px solid transparent;
}
.alto-btn-primary{
  background:var(--a-primary);
  color:#fff;
  border-color:var(--a-primary);
  box-shadow:0 10px 18px rgba(11, 99, 168, 0.25);
}
.alto-btn-primary:hover{ transform:translateY(-2px); color:#fff; }
.alto-btn-outline{
  background:#fff;
  color:var(--a-primary);
  border-color:rgba(11,99,168,.25);
}
.alto-btn-outline:hover{
  background:rgba(11,99,168,.06);
  transform:translateY(-2px);
}

/* hero media */
.alto-hero-media{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--a-border);
  box-shadow:var(--a-shadow);
  background:#fff;
}
.alto-hero-img{
  width:100%;
  height:360px;
  object-fit:cover;
  display:block;
}
.alto-hero-logo{
  position:absolute;
  top:12px;
  left:12px;
  width:190px;
  height:auto;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(229,231,235,.9);
  border-radius:14px;
  padding:10px 12px;
}

/* SECTION */
.alto-section{
  padding:34px 0;
}
.alto-section.soft{
  background:var(--a-soft);
}

.alto-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.alto-head h2{
  margin:0;
  font-size:22px;
  font-weight:950;
  color:var(--a-dark);
}
.alto-head p{
  margin:0;
  color:var(--a-muted);
  font-size:14px;
  line-height:1.6;
  font-weight:650;
  max-width:520px;
}

/* GRID */
.alto-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
}

.alto-card{
  background:#fff;
  border:1px solid #eef2f6;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(0,0,0,0.06);
  transition:.25s ease;
}
.alto-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 45px rgba(0,0,0,0.10);
}

.alto-card-media{
  width:100%;
  height:170px;
  background:#eef4ff;
  overflow:hidden;
}
.alto-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.alto-card-body{
  padding:14px 14px 16px;
}
.alto-card-body h3{
  margin:0 0 6px;
  font-size:16px;
  font-weight:950;
  color:var(--a-dark);
}
.alto-card-body p{
  margin:0;
  color:var(--a-muted);
  font-size:13px;
  line-height:1.55;
  font-weight:650;
}

/* icon cards */
.icon-bg{
  display:flex;
  align-items:center;
  justify-content:center;
}
.icon-bg.red{ background:#ffe9ea; }
.icon-bg.yellow{ background:#fff6db; }
.icon-img{
  width:120px;
  height:auto;
  object-fit:contain;
  filter: drop-shadow(0 10px 18px rgba(2,8,23,.15));
}

/* ROWS */
.alto-rows{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.alto-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  align-items:center;
}
.alto-row.reverse{ direction:rtl; }
.alto-row.reverse > *{ direction:ltr; }

.alto-row-img{
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--a-border);
  box-shadow:0 14px 35px rgba(0,0,0,0.08);
  background:#fff;
}
.alto-row-img img{
  width:100%;
  height:320px;
  object-fit:cover;
}
.alto-row-text{
  background:#fff;
  border:1px solid var(--a-border);
  border-radius:18px;
  padding:18px;
  box-shadow:0 12px 30px rgba(0,0,0,0.06);
}
.alto-row-text h3{
  margin:0 0 8px;
  font-size:18px;
  font-weight:950;
  color:var(--a-dark);
}
.alto-row-text p{
  margin:0;
  color:var(--a-muted);
  line-height:1.7;
  font-size:14px;
  font-weight:650;
}

.alto-mini{
  margin-top:12px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:10px;
}
.alto-mini img{
  width:100%;
  height:72px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid var(--a-border);
  background:#fff;
}

/* GALLERY */
.alto-gallery{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 260px;   /* important */
  gap:16px;
}

/* Card */
.g{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #e5e7eb;
  box-shadow:0 12px 30px rgba(0,0,0,0.08);
  background:#fff;
}

/* Images */
.g img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Big image */
.g.big{
  grid-row: span 2;
  height:100%;
}

/* Caption */
.g figcaption{
  position:absolute;
  left:12px;
  bottom:12px;
  background:rgba(15,23,42,.85);
  color:#fff;
  font-size:12px;
  padding:8px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
}

/* RESPONSIVE */
@media (max-width:1200px){
  .alto-grid{ grid-template-columns:repeat(3, 1fr); }
}
@media (max-width:991px){
  .alto-hero-grid{ grid-template-columns:1fr; }
  .alto-hero-img{ height:260px; }

  .alto-grid{ grid-template-columns:repeat(2, 1fr); }
  .alto-row{ grid-template-columns:1fr; }
  .alto-row-img img{ height:240px; }

  .alto-gallery{ grid-template-columns:1fr 1fr; }
  .g.big{ grid-column:span 2; grid-row:auto; }
}
@media (max-width:600px){
  .alto-grid{ grid-template-columns:1fr; }
  .alto-mini{ grid-template-columns:repeat(2, 1fr); }
  .alto-gallery{ grid-template-columns:1fr; }
  .g.big{ grid-column:auto; }
}